package com.zhiwang.planet.ui.money

import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup

/**
 * 试玩详情？？？适配器
 * [TryPlayDetailActivity]
 */
class ForePlayAdapter : androidx.recyclerview.widget.RecyclerView.Adapter<ForePlayAdapter.VH>() {

    val TYPE_APP_INFO = 0//应用信息
    val TYPE_MESSAGE = 1//提示
    val TYPE_TASK = 2 //任务进度
    val TYPE_APP_INTRODUCTION = 3//游戏介绍

    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): VH {

        return VH(LayoutInflater.from(parent.context).inflate(0, parent, false))

    }

    override fun getItemCount(): Int {
        return 15
    }

    override fun getItemViewType(position: Int): Int {
//        when (position) {
//            0 -> TYPE_APP_INFO
//        }

        return 0
    }

    override fun onBindViewHolder(holder: VH, position: Int) {

    }


    class VH(var itemView: View) : androidx.recyclerview.widget.RecyclerView.ViewHolder(itemView) {


    }
}